import axios from '../config/axiosConfig';
/**
 * 获取订单配置数据
 */
export const getOrderConfigApi = () => {
	return axios.get('/order/config');
};
// 获取订单列表
export const getOrderListApi = (params: any) => {	
	return axios.get('/order/list', { params });
};

// 获取订单详情
export const getOrderDetailApi = (id: number) => {
	return axios.get(`/order/detail/${id}`);
}